ContentFormats.parse

Parses the given @string into GdkContentFormats and returns the formats.

Strings printed via [method@Gdk.ContentFormats.to_string] can be read in again successfully using this function.

If @string does not describe valid content formats, %NULL is returned.

class ContentFormats
static
parse
(
string string_
)

Parameters

string_ string

the string to parse

Return Value

the content formats if @string is valid

Meta